<%@ page contentType="text/html;charset=utf-8" pageEncoding="utf-8" %>
<div id="login-form">
    <form class="form-horizontal col-md-10" role="form" action="" method="post">
        <fieldset>
            <legend>老师</legend>
            <% String msg = (String) request.getAttribute("msg");
            if (msg != null) { %>
            <div class="form-group">
                <span class="btn btn-danger btn-block disabled"><%= msg %></span>
            </div>
            <% } %>
            <div class="form-group">
                <input type="text" name="no" class="form-control" id="user" placeholder="老师编号"/>
            </div>
            <div class="form-group">
                <input type="password" name="pwd" class="form-control" id="pwd" placeholder="密码" />
            </div>
            <div class="form-group">
                <button type="submit" class="btn btn-primary btn-block">登陆</button>
            </div>
        </fieldset>
    </form>
</div>
